package cn.edu.ujs.coor.request.user;

import cn.edu.ujs.coor.request.BaseRequest;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 用户重置密码Request
 *
 * @author 柳曾雄
 * @date 2018-07-16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ResetPasswordRequest extends BaseRequest {

    /**
     * 用户编号
     */
    @NotBlank(message = "用户编号非空")
    private String id;

    /**
     * 新密码
     */
    @NotBlank(message = "密码非空")
    private String password;
}
